LearningStoreTransactionScope.Complete Method

Indicates that all operations within the scope have completed successfully.

Parent Type: LearningStoreTransactionScope

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public void Complete ()

Exceptions
Exception type Condition
InvalidOperationException

This method has already been called.

ObjectDisposedException

Remarks

When you are satisfied that all operations within the scope have completed successfully, you should call this method only once to specify that the transaction can be committed. Failing to call this method aborts the transaction.

See LearningStoreTransactionScope for more information.